//
// Unihan Input Method
//
// Copyright © 2002-2007 Sun Wah Linux Ltd.
//
//
// This library is free software; you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as
// published by the Free Software Foundation; either version 2.1 of the
// License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
// Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public
// License along with this program; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
// USA
//
// $Id: im_config.h 757 2007-05-10 08:19:31Z roger $
//

#ifndef _CONFIGURE_H
#define _CONFIGURE_H

typedef struct _TableConfig {
	int ChMode;	/* english or chinese mode */
			/* 0 : english	1 : chinese */ 
	int PuncMode;	/* en/cn punctuation */
			/* 0 : en punc	1 : cn punc */
	int FullShape;	/* full or half width */
			/* 0 : half	1 : full */
	int SPMode;	/* shuangpin or quanpin */
			/* 0 : quanpin	1 : shuangpin */
	int FreqMode;	/* frequence adjuste */
			/* 0 : close	1 : open */
	int IllMode;	/* illegibility */
			/* 0 : close	1 : open */
	int pageSize;
} TableConfig;

void config_init(TableConfig *config);

#endif /* _CONFIGURE_H */

// vi:ts=4:nowrap:cin:expandtab
